package cn.mineserv.video.videoordersystem.dao;

import cn.mineserv.video.videoordersystem.model.MediaHistory;
import cn.mineserv.video.videoordersystem.model.MediaHistoryExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MediaHistoryDao extends BaseMapper<MediaHistory> {
    long countByExample(MediaHistoryExample example);

    int deleteByExample(MediaHistoryExample example);

    List<MediaHistory> selectByExample(MediaHistoryExample example);

    int updateByExampleSelective(@Param("record") MediaHistory record, @Param("example") MediaHistoryExample example);

    int updateByExample(@Param("record") MediaHistory record, @Param("example") MediaHistoryExample example);

    int updateBatch(List<MediaHistory> list);

    int updateBatchSelective(List<MediaHistory> list);

    int batchInsert(@Param("list") List<MediaHistory> list);

    int insertOrUpdate(MediaHistory record);

    int insertOrUpdateSelective(MediaHistory record);
}